package com.ruoyi.system.service;

import com.ruoyi.system.domain.User;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface UserService {
    
    List<User> listUser();
    
    User getUserByName(String loginName);
    
    
    int saveUser(User user);

    int updateUser(User user);
    
    void deleteUser(Long userid);
}
